package com.tbit.uqbike.service.business;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tbit.uqbike.object.pojo.UniAppMenu;
import com.tbit.uqbike.object.pojo.vo.BatchOperationMsgVO;
import com.tbit.common.entity.view.Result;

import java.util.List;

/**
 * @Author:BUGTian
 * @DATE: 2022/9/20
 */
public interface UniAppMenuService extends IService<UniAppMenu> {

    /**
     * 修改uniApp菜单
     *
     * @param uniAppMenus
     * @return
     */
    Result edit(List<UniAppMenu> uniAppMenus);

    /**
     * 新增菜单并重排
     *
     * @param uniAppMenu .
     * @return 1
     */
    Result<BatchOperationMsgVO<String>> addMenuAndRearrange(UniAppMenu uniAppMenu);
}
